package com.huowenjie.api;

import com.huowenjie.entity.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(name = "eureka-client01",url = "http://localhost:9092")
public interface TestApi {
    @RequestMapping("goodsList")
    List<Goods> goodsList();
}
